PHONY: all
all: tcpclient tcpserver

tcpclient:TcpClient.cc
	g++ -o $@ $^ -std=c++17 -lpthread -ljsoncpp

tcpserver:main.cc
	g++ -o $@ $^ -std=c++17 -lpthread -ljsoncpp

clean:
	rm -f tcpclient tcpserver